Improving the Quality of Random Number Generators by Applying a Simple Ratio Transformation

نویسندگان

  • Michael Kolonko
  • Zijun Wu
  • Feng Gu
چکیده

It is well-known that the quality of random number generators can often be improved by combining several generators, e.g. by summing or subtracting their results. In this paper we investigate the ratio of two random number generators as an alternative approach: the smaller of two input random numbers is divided by the larger, resulting in a rational number from [0, 1]. We investigate theoretical properties of this approach and show that it yields a good approximation to the ideal uniform distribution. To evaluate the empirical properties we use the well-known test suite TestU01. We apply the ratio transformation to moderately bad generators, i.e. those that failed up to 40% of the tests from the test battery Crush of TestU01. We show that more than half of them turn into very good generators that pass all tests of Crush and BigCrush from TestU01 when the ratio transformation is applied. In particular, generators based on linear operations seem to benefit from the ratio, as this breaks up some of the unwanted regularities in the input sequences. Thus the additional effort to produce a second random number and to calculate the ratio allows to increase the quality of available random number generators. ∗Principal corresponding author ∗∗Corresponding author Email addresses: [email protected] (Michael Kolonko), [email protected] (Zijun Wu), [email protected] (Feng Gu) Preprint submitted to Mathematics and Computers in Simulation December 23, 2016 ar X iv :1 61 2. 07 31 8v 1 [ cs .O H ] 2 1 D ec 2 01 6

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Comparison of some hospital indicators before and after the implementation of the transformation plan in training hospitals affiliated to Zabol University of Medical Sciences

Background and Objectives: The health sector evolution plan was implemented in 2014 with three approaches financial protections of people, establishing justice in access to health services and improving quality of services in hospitals. This study aimed to compare some hospital indicators before and after the implementation of the transformation plan in training hospitals affiliated to Zabol Un...

متن کامل

Improving Random Number Generators in the Monte Carlo simulations via twisting and combining

Problems for various random number generators accompanying the Wolff algorithm [U. Wolff, Phys. Rev. Lett. 62 (1989) 361; U. Wolff, Phys. Lett. B 228 (1989) 379] are discussed, including the hidden errors first reported in [A.M. Ferrenberg, D.P. Landau, Y.J. Wong, Phys. Rev. Lett. 69 (1992) 3382]. A general (though simple) method of twisting and combining for improving the performance of these ...

متن کامل

Design of low power random number generators for quantum-dot cellular automata

Quantum-dot cellular automata (QCA) are a promising nanotechnology to implement digital circuits at the nanoscale. Devices based on QCA have the advantages of faster speed, lower power consumption, and greatly reduced sizes. In this paper, we are presented the circuits, which generate random numbers in QCA.  Random numbers have many uses in science, art, statistics, cryptography, gaming, gambli...

متن کامل

Design of low power random number generators for quantum-dot cellular automata

Quantum-dot cellular automata (QCA) are a promising nanotechnology to implement digital circuits at the nanoscale. Devices based on QCA have the advantages of faster speed, lower power consumption, and greatly reduced sizes. In this paper, we are presented the circuits, which generate random numbers in QCA.  Random numbers have many uses in science, art, statistics, cryptography, gaming, gambli...

متن کامل

On the Generation of High-Quality Random Numbers by Two-Dimensional Cellular Automata

ÐFinding good random number generators (RNGs) is a hard problem that is of crucial import in several fields, ranging from large-scale statistical physics simulations to hardware self-test. In this paper, we employ the cellular programming evolutionary algorithm to automatically generate two-dimensional cellular automata (CA) RNGs. Applying an extensive suite of randomness tests to the evolved C...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1612.07318  شماره 

صفحات  -

تاریخ انتشار 2016